html,body {
  height: 100%;
}
body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  background-color: #f5f5f5;
}
.card {
  width: 100%;
  max-width: 400px;
  margin: auto;
}
a {
  display: inline-block;
}